import Storage from "@/uitl/Storagehandle"; //sessionStorage的操作

export default {
  namespaced: true, //命名空间
  state: {
    StudentInfo: Storage.getItem("StudentInfo") || {},    
  },
  getters: {},
  mutations: {
    setStudentInfo(state, data) {
      Storage.setItem(`StudentInfo`, data);
      state.StudentInfo = data;
    },   
  },
  actions: {},
  modules: {},
};
